package com.jsls.netspri.dao;

import java.util.List;

import com.jsls.netspri.entity.Page;
import com.jsls.netspri.entity.SingleData;

@MyBatisRepository
public interface SingleDataDao {

	public void save(SingleData sd);
	
	public List<SingleData> findByUserId(Integer id);
	
	public void deleteBySingleDataId(Integer id); 
	
	public Integer findRowsByUserId(int user_id);
	
	public List<SingleData> findByUserId_page(Page page);
	
	public SingleData findBySingleDataId(Integer single_data_id);
	
	public void deleteByUserId(int user_id);
}
